﻿@model IEnumerable<Model.major_change>

@{
    ViewData["Title"] = "View";
}

<h1>View</h1>

<p>
    <a asp-action="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.mch_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.first_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.first_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.second_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.second_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.third_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.third_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.major_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.major_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.major_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.major_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_first_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_first_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_second_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_second_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_third_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_third_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_major_kind_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_major_kind_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_major_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_major_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.human_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.human_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.salary_standard_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.salary_standard_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.salary_sum)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_salary_standard_id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_salary_standard_name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.new_salary_sum)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.change_reason)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.check_reason)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.check_status)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.register)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.checker)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.regist_time)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.check_time)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.mch_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.first_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.first_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.second_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.second_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.third_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.third_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.major_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.major_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.major_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.major_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_first_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_first_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_second_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_second_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_third_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_third_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_major_kind_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_major_kind_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_major_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_major_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.human_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.human_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.salary_standard_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.salary_standard_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.salary_sum)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_salary_standard_id)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_salary_standard_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.new_salary_sum)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.change_reason)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.check_reason)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.check_status)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.register)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.checker)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.regist_time)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.check_time)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
                @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
                @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
            </td>
        </tr>
}
    </tbody>
</table>
